package com.soecode.lyf.service.impl;

import java.util.List; 

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.soecode.lyf.dao.InfoDao;
import com.soecode.lyf.entity.UserInfo;
import com.soecode.lyf.service.InfoService;
@Service
public class InfoServiceimpl implements InfoService {
	
	@Autowired
	private InfoDao infodao;
	
	@Override
	public int UpdateUserInfo(String nickname, String signature,int age,String sex,String emial,String phone,String userid) {
		System.out.println("impl"+nickname+'&'+signature+'&'+age+'&'+sex+'&'+emial+'&'+phone+'&'+userid);
		return infodao.UpdateUserInfo(nickname,signature,age,sex,emial,phone,userid);
	}
	@Override
	public int saveUserImg(String imgPath,String userid) {
		return infodao.saveUserImg(imgPath, userid);
	}
}
